Version

Item(Int32[]) Property

An indexer that gets and sets a single element of a Vector.
Syntax
'Declaration
 
Public Overloads Property Item( _
   ByVal ParamArray indices() As Integer _
) As Double
public double Item( 
   params int[] indices
) {get; set;}

Parameters

indices
An index that specifies an element of the Vector.

Property Value

The specified element of the Vector.
Exceptions
ExceptionDescription
System.IndexOutOfRangeException Occurs if the Vector is indexed with more than two indices.
System.IndexOutOfRangeException Occurs if the Vector is indexed below 0 or above its length.
System.IndexOutOfRangeException Occurs if a row Vector is indexed with two indices and the first index is greater than 0.
System.IndexOutOfRangeException Occurs if a column Vector is indexed with two indices and the second index is greater than 0.
System.IndexOutOfRangeException Occurs if the empty Vector is indexed.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also